/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const orderRouter = {
  path: '/system',
  component: Layout,
  redirect: '/system/user',
  name: 'system',
  meta: {
    title: '权限管理',
    icon: 'money'
  },
  children: [
    {
      path: 'user',
      component: () => import('@/views/system/user'),
      name: 'systemUser',
      meta: { title: '用户权限管理' }
    },
    {
      path: 'role',
      component: () => import('@/views/system/role'),
      name: 'systemRole',
      meta: { title: '角色权限管理' }
    },
    {
      path: 'menu',
      component: () => import('@/views/system/menu'),
      name: 'systemMenu',
      meta: { title: '菜单列表管理'}
    }
  ]
}
export default orderRouter
